package com.example.commonsinterface.service;

import com.example.commonsinterface.dto.WeatherResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "RADIS-CACHE")
public interface RedisCache {
//    @RequestMapping("/cache")
//    public void cacheWeatherData();

    @RequestMapping("/search")
    public WeatherResponse searchWeather(String cityid);
}
